﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Majoopic.DataAccess.Service;

namespace Majoopic.DataAccess.XmlFile
{
    /// <summary>
    /// Factory
    /// </summary>
    public class DataAccessXmlFileFactory : DataAccessAbstractFactory
    {
        /// <summary>
        /// Default constructor
        /// </summary>
        public DataAccessXmlFileFactory()
        {

        }

        /// <summary>
        /// Get the data access for a picture in a xml file
        /// </summary>
        /// <returns></returns>
        public override IPictureAccess GetPictureService()
        {
            return new PictureXmlFileAccess();
        }
    }
}
